import { createRouter, createWebHistory } from 'vue-router';

import studentRoutes from './student.js';

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    { path: '', redirect: '/student/list' },
    ...studentRoutes
  ]
});

export default router;
